package com.archermind.style.bean;

import com.feng.fengDUtil.dao.annotation.Id;
import com.feng.fengDUtil.dao.annotation.Table;

import java.io.Serializable;
import java.util.Date;

@Table("release_log")
public class Release implements Serializable {

    @Id
    private Integer id;
    private String name;
    private Byte hd;
    private Integer sceneId;
    private String instanceIds;
    private Integer attachmentFolderId;

    private String zipPath;
    private String respPath;
    private String comment;

    private Date createTime;
    private Integer creator;
    private Integer modifier;
    private Date modifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Integer getSceneId() {
        return sceneId;
    }

    public void setSceneId(Integer sceneId) {
        this.sceneId = sceneId;
    }

    public String getInstanceIds() {
        return instanceIds;
    }

    public void setInstanceIds(String instanceIds) {
        this.instanceIds = instanceIds;
    }

    public String getZipPath() {
        return zipPath;
    }

    public void setZipPath(String zipPath) {
        this.zipPath = zipPath;
    }

    public String getRespPath() {
        return respPath;
    }

    public void setRespPath(String respPath) {
        this.respPath = respPath;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getModifier() {
        return modifier;
    }

    public void setModifier(Integer modifier) {
        this.modifier = modifier;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Byte getHd() {
        if(hd ==null){
            return 0;
        }
        return hd;
    }

    public void setHd(Byte hd) {
        this.hd = hd;
    }

    public Integer getAttachmentFolderId() {
        return attachmentFolderId;
    }

    public void setAttachmentFolderId(Integer attachmentFolderId) {
        this.attachmentFolderId = attachmentFolderId;
    }
}
